﻿<Window x:Class="Gao.Poker.App.Sys.ModifyPwd"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="用户密码修改" Width="324.8" Height="210" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
    <Window.Background>
        <ImageBrush ImageSource="/skin/bg-right.jpg"/>
    </Window.Background>
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="6*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="10"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="1" HorizontalAlignment="Right" Text="用户名：" VerticalAlignment="Center"/>
        <TextBlock Grid.Row="1" Grid.Column="1" Name="txtUserName" Width="120" HorizontalAlignment="Left"/>
        
        <TextBlock Grid.Row="2" HorizontalAlignment="Right" Text="密码：" VerticalAlignment="Center"/>
        <PasswordBox Grid.Row="2" Grid.Column="1" VerticalContentAlignment="Center" Name="txtPwd" Width="120" HorizontalAlignment="Left"/>

        <TextBlock Grid.Row="3" Margin="0,1,0,1" HorizontalAlignment="Right" Text="重复密码：" VerticalAlignment="Center"/>
        <PasswordBox Grid.Row="3" Grid.Column="1" Margin="0,1,0,1" VerticalContentAlignment="Center" Name="txtPwdAgain" Width="120" HorizontalAlignment="Left"/>

        <StackPanel Orientation="Horizontal" Grid.ColumnSpan="2"  Grid.Row="4" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button Padding="5" Style="{DynamicResource Orrange}" Width="60" FontSize="16" Height="35" Name="btnLogin" 
                    Click="Submit_Click">确认</Button>
        </StackPanel>
    </Grid>
</Window>
